/**
 * @Title: Route
 * @ProjectName agilefast-framework
 * @Package com.caltco.cargo.ops.modules.sys.entity
 * @Description: 前端项目路由实体类
 * @author daixirui
 * @version V1.0.0
 * @Copyright: 2021  All rights reserved.
 * @date 2021/4/7 14:02
 */
package com.caltco.cargo.ops.modules.sys.vo;

import java.util.ArrayList;
import java.util.List;

public class Route {
    /**
     * 路径
     */
    private String path="";
    /**
     * 命名路由-路由名称
     */
    private String name="";
    /**
     * 页面组件
     */
    private String component="";
    /**
     * 重定向地址
     */
    private String redirect="";
    /**
     * 元数据
     */
    private Meta meta=new Meta();

    /**
     * 嵌套子路由
     */
    private List<Route> children=new ArrayList();

    public void setPath(String path) {
        this.path = path;
    }
    public String getPath() {
        return path;
    }

    public void setName(String name) {
        this.name = name;
    }
    public String getName() {
        return name;
    }

    public void setComponent(String component) {
        this.component = component;
    }
    public String getComponent() {
        return component;
    }

    public void setRedirect(String redirect) {
        this.redirect = redirect;
    }
    public String getRedirect() {
        return redirect;
    }

    public void setMeta(Meta meta) {
        this.meta = meta;
    }
    public Meta getMeta() {
        return meta;
    }

    public List<Route> getChildren() {
        return children;
    }

    public void setChildren(List<Route> children) {
        this.children = children;
    }
}
